import request from '@/utils/request'

export function getNoticeList(data){
    return request({
        url:'/noticelist',
        method:'get',
        params:data
    });
}

export function editNotice(data){
    return request({
       url:'/editnotice',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getNoticeInfo(data){
    return request({
       url:'/noticeinfo',
       method:'get',
       params:data
    });
}

export function delNotice(data){
   return request({
      url:'/delnotice',
      method:'get',
      params:data
   });
}

export function getAllNoticeType(data){
   return request({
      url:'/allnoticetype',
      method:'get',
      params:data
   });
}
